package com.leexuan.ordersystem.forms;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.action.ActionMessage;

public class CustomerForm extends ActionForm {

	private String name = null;
	private String address = null;
	private String bank = null;
	private String account = null;
	private int cid = 0;

	public CustomerForm() {
		super();
	}

	public void reset(ActionMapping mapping, HttpServletRequest request) {

		this.name = null;
		this.address = null;
		this.bank = null;
		this.account = null;
	}

	public String getName() {
		return this.name;
	}

	public int getCid() {
		return this.cid;
	}

	public String getAddress() {
		return this.address;
	}

	public String getBank() {
		return this.bank;
	}

	public String getAccount() {
		return this.account;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public void setBank(String bank) {
		this.bank = bank;
	}

	public void setAccount(String account) {
		this.account = account;
	}

}
